package com.foreknow.demo2;

import java.util.Scanner;

/**
 * 单条件分支
 */
public class ControlDemo1 {
    public static void main(String[] args) {
        System.out.println("请输入学生的成绩：");
        Scanner input = new Scanner(System.in);
        int score = input.nextInt();
        if (score > 90){
            System.out.println("very good!");
        }
        System.out.println("程序执行完毕……");
    }
}








